
// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import {require} from './util/util.js'

Vue.config.productionTip = false

//封装请求并放入vue原型里，调用 this.$http({url:''})
Vue.prototype.$http = require;

//服务器路径
// Vue.prototype.serverUrl = 'http://124.71.81.168:92'
 Vue.prototype.serverUrl = 'http://192.168.18.186:3006'

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif